package com.lx.pc.domain.entity.supplydemand;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 供求实体 
 * @author houzhong
 *
 */
@Entity(table = "t_supply_demand")
public class SupplydemandEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户id
	 */
	@Column(name = "user_id")
	private String userId;
	
	/**
	 * 标题
	 */
	@Column(name = "title")
	private String title;
	
	/**
	 * 内容
	 */
	@Column(name = "content")
	private String content;
	
	/**
	 * 数量
	 */
	@Column(name = "num")
	private float num;
	
	/**
	 * 价格
	 */
	@Column(name = "price")
	private float price;
	
	/**
	 * 类型 1 黄页供应 2 黄页求购
	 */
	@Column(name = "type")
	private String type;
	

	/**
	 * 类别id
	 */
	@Column(name = "category_id")
	private String categoryId;
	
	/**
	 * 类别子id
	 */
	@Column(name = "category_level")
	private String categoryLevel;
	
	/**
	 * 省
	 */
	@Column(name = "province")
	private String province;
	
	/**
	 * 市
	 */
	@Column(name = "city")
	private String city;
	
	/**
	 * 区
	 */
	@Column(name = "area")
	private String area;
	
	/**
	 * 地址
	 */
	@Column(name = "address")
	private String address;
	
	/**
	 * 联系人
	 */
	@Column(name = "contacts")
	private String contacts;
	
	/**
	 * 联系电话
	 */
	@Column(name = "telephone")
	private String telephone;
	
	/**
	 * 单位
	 */
	@Column(name="company")
	private String company;
	
	/**
	 * 运送方式 1 送货上门 2 上门自提
	 */
	@Column(name = "mode")
	private Integer mode;
	
	/**
	 * 目标单位 1 电议 2 具体值
	 */
	@Column(name = "target")
	private Integer target;
	
	/**
	 * 截至日期
	 * @return
	 */
	@Column(name="deadline")
	private String deadline;
	
	
	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}

	public float getNum() {
		return num;
	}

	public void setNum(float num) {
		this.num = num;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getMode() {
		return mode;
	}

	public void setMode(Integer mode) {
		this.mode = mode;
	}

	public Integer getTarget() {
		return target;
	}

	public void setTarget(Integer target) {
		this.target = target;
	}

	public String getDeadline() {
		return deadline;
	}

	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}

	public String getCategoryLevel() {
		return categoryLevel;
	}

	public void setCategoryLevel(String categoryLevel) {
		this.categoryLevel = categoryLevel;
	}
}
